import 'package:flutter/material.dart';

class EamplePage extends StatefulWidget {
  const EamplePage({Key? key}) : super(key: key);

  @override
  _EamplePageState createState() => _EamplePageState();
}

class _EamplePageState extends State<EamplePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        elevation: 0,
        centerTitle: true,
        title: const Text('案例'),
      ),
      body: Row(
        children: const [
           Text("报错了"),
        ],
      ),
    );
  }
}

// ignore: unused_element
Widget _avatart() {
  return Container(
    width: 50,
    height: 50,
    decoration: BoxDecoration(
      // color: Colors.yellow,
      shape: BoxShape.circle,
      image: const DecorationImage(image: AssetImage("assets/images/common/userIcon.png")),
      borderRadius: BorderRadius.circular(25)
    ),
  );
}
